home *** CD-ROM | disk | FTP | other *** search
/ Language/OS - Multiplatform Resource Library / LANGUAGE OS.iso / cpp_libs / cool / ge_cool.lha / GE_COOL2.1 / src / Property / Property.h < prev    next >
C/C++ Source or Header  |  1992-04-19  |  1KB  |  42 lines

  1. //
  2. // Copyright (C) 1992 General Electric Company.
  3. //
  4. // Permission is granted to any individual or institution to use, copy, modify,
  5. // and distribute this software, provided that this complete copyright and
  6. // permission notice is maintained, intact, in all copies and supporting
  7. // documentation.
  8. //
  9. // General Electric Company provides this software "as is" without
  10. // express or implied warranty.
  11. //
  12. // Changed: VDN 04/15/92 -- Lice version
  13. //
  14. // In Lisp, property list provides a flexible way of storing intermediate
  15. // information, without changing the data structures. A property list is
  16. // implemented as a association vector between names and values.
  17. // Values can be pointers, ints, longs, float, double, and void* of course.
  18.  
  19. #ifndef PROPERTYH
  20.  
  21. #ifndef STRINGH
  22. #include <cool/String.h>
  23. #endif
  24.  
  25. #ifndef VALUEH
  26. #include <cool/Value.h>
  27. #endif
  28.  
  29. #ifndef ASSOCIATIONH
  30. #include <cool/Association.h>
  31. DECLARE CoolAssociation<CoolString, CoolValue>;
  32. #endif
  33.  
  34. typedef CoolAssociation<CoolString, CoolValue> CoolProperty;
  35.  
  36. #define PROPERTYH
  37. #endif
  38.  
  39.  
  40.  
  41.  
  42.